package com.financing.wap.service.impl;

import java.math.BigDecimal;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.financing.wap.dao.ISystemDao;
import com.financing.wap.dto.SwitchDTO;
import com.financing.wap.service.ISystemService;

/**
 * 获取系统相关配置
 * @author localadmin
 *
 */
@Service("systemService")
public class SystemServiceImpl implements ISystemService {

	@Autowired
	public ISystemDao systemDao;
	
	
	@Override
	public SwitchDTO getSwitch(String switchName) {
		return systemDao.getSwitch(switchName);
	}


	@Override
	public String getPlatformMonthRebate() {
		return systemDao.getPlatformRebate();
	}


	@Override
	public BigDecimal getMollionWealthCount() {
		return systemDao.getMollionsWealthCount();
	}


	@Override
	public String getSmsAdContent(String smsType) {
		return systemDao.getSmsAdContent(smsType);
	}

}
